<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:c="http://java.sun.com/jsp/jstl/core">

    

    <c:if test="#{!homeController.logueado()}">
        <h:form> <h:commandLink action="#{homeController.login}"><h:graphicImage library="images" name="iniciar_sesion.png" title="inicio de sesion"/></h:commandLink> </h:form>
    </c:if>

    <c:if test="#{homeController.logueado()}">
        <h:graphicImage library="images" name="logout.png"/>
        <h:form> <h:commandLink action="#{homeController.logout()}" value="Cerrar sesion"/> </h:form>
        <h:form> <h:commandLink action="#{homeController.cambio_clave()}" value="Cambiar Clave"/> </h:form>
    </c:if>

    <br />

</ui:composition>
